@import '../styles/common/baseColors.less';

:global {
  .hy-tabs {
    &.ant-tabs {
      .ant-tabs-tab {
        &.ant-tabs-tab-active {
          color: @primary-color;
        }
      }

      &.hy-right-tab {
        .ant-tabs-bar {
          border-left: 2px solid @primary-color;
          .ant-tabs-ink-bar {
            visibility: hidden;
          }
        }
      }

      &.ant-tabs-card {
        &.hy-inner-tab {
          // 内部标签
          .ant-tabs-tab {
            background: @white;
            border: 1px solid @white;
            border-bottom: 1px solid #e8e8e8;
            &.ant-tabs-tab-active {
              border-left: 1px solid #e8e8e8;
              border-right: 1px solid #e8e8e8;
              border-top: 1px solid @primary-color;
              border-bottom: 0;
              border-radius: 0;
            }
          }
        }
      }
    }
  }
}
